﻿#include <iostream>
using namespace std;

int main() {
	const int n = 7;
	int a[n] = { 1,2,3,4,5,6,7 };
	int b[n];

	for (int i = 0; i < n; i++) {
		b[i] = a[i];
	}

	for (int i = 0; i < n; i++) {
		cout << "b[" << i << "]=" << b[i] << endl;
	}

	cin.get();
}